<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>Den Hellige bilist - {$title}</title>

	<link rel="alternate" title="RSS - Siste 10 hendelser"
		href="{$CONFIG.url}/rss.php?feed=latest" type="application/rss+xml" />

	<link rel="alternate" title="RSS - Diskusjon" 
		href="{$CONFIG.url}/rss.php?feed=discussion" type="application/rss+xml" />

	<link rel="stylesheet" href="style.css" type="text/css" />
	{if $map_type}
		<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$CONFIG.gmap_key}"
			type="text/javascript"></script>
	{/if}

	{if $map_type == incident}
            {include file="map_incident.js.tpl" incident_post=$incident_post}
                
	{else if $map_type == view}
		{include file="map_view.js.tpl" incidents=$incidents}
	{/if}

	<script src="jscript/general.js" type="text/javascript"></script>

	{literal}
	<style type="text/css">
		body {
			font-family : 'sans-serif';
			color : black;
			background-color : white;
		}
	</style>
        <style type="text/css">@import url(jscript/calendar/skins/aqua/theme.css);</style>
        <script type="text/javascript" src="jscript/calendar/calendar.js"></script>
        <script type="text/javascript" src="jscript/calendar/lang/calendar-en.js"></script>
        <script type="text/javascript" src="jscript/calendar/calendar-setup.js"></script>
	{/literal}



</head>


<body style="color: black; background-color: white;" 
	onload="onLoad()" alink="#000099" link="#000099" vlink="#990099">

<div>
	<a href="index.php"><img style="border: 0px solid;" alt="logo" src="graphic/logo.png"></a>
</div>

<div style="position : absolute; right : 1px; top : 1px;">
	{if $logged_in}
		<a href="session.php?action=logout">logg ut</a>
		<a href="session.php?action=logout"><img style="border: 0px solid ; width: 22px; height: 22px;" 
			alt="" src="graphic/kopete002.png"></a>
	{else}
		<a href="session.php?view=login">logg inn</a>
		<a href="session.php?action=logout"><img style="border: 0px solid ; width: 22px; height: 22px;" 
			alt="" src="graphic/kopete004.png"></a>
	{/if}

</div>

<div style="position : relative;">
	<div style="font-size : large;"> {* menu *}
		<ol style="list-style-type : none; padding : 0; margin : 0;">
			<li style="display : inline; text-decoration : none;">
				<a href="incident.php"><img style="border: 0px solid ; width: 32px; height: 32px;" 
					alt="Hedelser" src="graphic/32x32/contents.png"></a>
				<a href="incident.php">Hendelser</a>
			</li>
			
			<li style="display : inline;">
				<a href="documentation.php"><img style="border: 0px solid ; width: 32px; height: 32px;"
					alt="Om siden" src="graphic/agt_support.png"></a>
				<a href="documentation.php">Om siden</a>
			</li>
		
			<li style="display : inline;">	
		
			<a href="discussion.php"><img style="border: 0px solid ; width: 32px; height: 32px;" 
					alt="Diskusjon" src="graphic/agt_forum.png"></a>
				<a href="discussion.php">Diskusjon</a>
		
			</li>
		
			{if $logged_in}
			<li style="display : inline;">
				<a href="profile.php"><img style="border: 0px solid ; width: 32px; height: 32px;" 
					alt="Din profil" src="graphic/configure.png"></a>
				<a href="profile.php">Din profil</a>
			</li>
			{/if}
		
		</ol>
	</div>

	<div style="position : absolute; right : 0%; top : 0px;">
		{* search box *}
		{* <form method="get" action="search.php" name="search">
		<label>
		{if $terms}
			<input size="12" name="terms" value="{$terms}">
		{else}
			<input size="12" name="terms" value="s&oslash;k" 
				onfocus="if(this.value==this.defaultValue)this.value='';">
		{/if}
		</label>
		<input style="border: 0px solid;" id="searchbutton" src="graphic/kfind.png" alt="S&oslash;k" type="image"></form> *}

	</div>
</div>

